//
//  EMSSkillPlannerWindowController.h
//  EVE Mac Suite
//
//  Created by Vadim Lozko on 2/13/09.
//  Copyright 2009 __Vadim__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class EMSCharacterDataController;
@class EMSSkillPlannerSkillBranchView;
@class EMSSkillPlannerParser;
@class EMSSkillPlannerTreeNode;
@class EVECDSkillPlanItem;
@class EVECDCharacter;

@interface EMSSkillPlannerWindowController : NSWindowController {
	EMSCharacterDataController* dataController;
	
	id delegate;
	
	IBOutlet NSOutlineView* groupsAndSkillsOutlineView;
	IBOutlet NSTableView* plannedSkillsTableView;
	IBOutlet EMSSkillPlannerSkillBranchView* branchView;
	
	IBOutlet NSArrayController* skillGroupsArrayController;
	IBOutlet NSTreeController* groupsAndSkillsTreeController;
	IBOutlet NSArrayController* skillPlansArrayController;
	IBOutlet NSArrayController* plannedSkillsArrayController;
	
	IBOutlet EMSSkillPlannerParser* parser;
}

@property (assign) id delegate;

-(id)initWithCharacterDataController:(EMSCharacterDataController*)aCharacter;
-(EVECDCharacter*)character;

-(IBAction)addNewSkillPlan:(id)sender;
-(IBAction)removeSkillPlan:(id)sender;
-(IBAction)setSkillAndLevel:(id)sender;
-(IBAction)removeSkillPlanItem:(id)sender;
-(IBAction)moveSkillPlanItemDown:(id)sender;
-(IBAction)moveSkillPlanItemUp:(id)sender;

@end
